package com.woniuxy.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 品牌管理(商品配置)
 * </p>
 *
 * @author zcx,ftl,gr,rhs
 * @since 2022-01-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("goods_brand_general")
@ApiModel(value="GoodsBrandGeneral对象", description="品牌管理(商品配置)")
public class GoodsBrandGeneral implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "品牌和大类的中间表id")
    @TableId(value = "brand_general_id", type = IdType.AUTO)
    private Integer brandGeneralId;

    @ApiModelProperty(value = "品牌id")
    @TableField("brand_id")
    private Integer brandId;

    @ApiModelProperty(value = "大类id")
    @TableField("general_id")
    private Integer generalId;

    @ApiModelProperty(value = "大类名")
    @TableField("goods_general_name")
    private String goodsGeneralName;


}
